package com.karson.service.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.karson.common.model.AlbumComment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.karson.common.response.AlbumResponse;
import com.karson.common.response.CommentAlbumResponse;
import com.karson.common.response.CommentResponse;
import java.time.LocalDateTime;
import java.util.List;

/**
* @author ZKS
* @description 针对表【ar_album_comment(评论表)】的数据库操作Mapper
* @createDate 2025-09-13 11:15:32
* @Entity com.karson.common.model.AlbumComment
*/
public interface AlbumCommentMapper extends BaseMapper<AlbumComment> {


    List<CommentResponse> getTopReplyList(Integer albumId, Integer orderType);

    List<CommentResponse> selectByCursorMode(Integer albumId, Integer lastLikeCount, LocalDateTime lastCreateTime, Integer lastId, Integer orderType, Integer limit);

    IPage<CommentResponse> getSubCommentList(IPage<CommentResponse> page, Integer albumId, Integer orderType, String rId);

    IPage<CommentAlbumResponse> getList(IPage<CommentAlbumResponse> commentPage, Integer albumId, Integer status);
}




